<?php
class User_Model_DbTable_Aclpermission extends Custom_Db_Table_Abstract
{
    public $_name = 'acl_permissions';
    
    /**
     *
     * @param type $resourceId
     * @return type array
     * 
     */
    public function getPermission($resourceId)
    {
      $rows = $this->select();
      $rows = $this->getByColumn('resource_id',$resourceId);
      return $rows;
    }
    
    public function deletePermission($where)
    {
       return( $this->delete($where));
        
    }
    
}


?>